/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lab6.lab;

/**
 *
 * @author c0909h1169
 */
public class Computer {
    int id;
    String name;
    Double price;

    public Computer(int id, String name, Double price) {
        this.id = id;
        this.name = name;
        this.price = price;
    }
    @Override
    public String toString()
    {
        return"ID: "+id+"\tName: "+name+"\tPrice"+price+"$";
    }


}
